package cn.tedu.hotelApi.base.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

/**
 * 自动扫描
 */
@Configuration
@MapperScan("cn.tedu.*.*.mapper")
//只扫描 mapper 避免扫描service
public class MyBatisConfig {

}